package message.server;

import message.BaseMessage;
import socket.ChessClient;

/**
 * 显示聊天报文
 *
 * @author 张紘溢
 */
public class ServerGroupChat extends BaseMessage {
    private String str;

    public ServerGroupChat(String str) {
        this.str = str;
    }


    @Override
    public void sendToServer() {

    }

    @Override
    public void selfExecute() {
        ChessClient.getInstance().getRoomList().showChatMessage(str);
    }
}
